/*
 * Copyright © 2016 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
@import '../../../../styles/variables.scss';

.cask-tab-head {
  margin: 0;
  padding: 7px 10px;
  border-left: 0;
  cursor: pointer;
  color: #333333;
  font-size: 14px;

  &.active-tab {
    &.horizontal {
      transition: border-bottom 0.2s ease;
      border-bottom: 3px solid var(--brand-primary-color);
      color: #000000;
      font-weight: bold;
    }

    &.vertical {
      transition: border-left 0.2s ease;
      border-bottom: 0;
      border-left: 3px solid var(--brand-primary-color);
      font-weight: bold;
    }
  }
  span {
    display: inline-block;
    &:nth-child(2) {
      width: calc(100% - 25px);
      text-overflow: ellipsis;
      overflow: hidden;
      vertical-align: top;
      white-space: nowrap;
    }
  }
}
